package cn.brickie.prototype;

/***
 * 扩展抽象类的实体类
 * @author Brickie
 * @date 2018/6/4 11:13
 */
public class Rectangle extends Shape {

    public Rectangle() {
        type = "Rectangle";
    }

    @Override
    public void draw() {
        System.out.println("Inside Rectangle::draw() method.");
    }
}
